package com.nail.api.user.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONObject;
import com.nail.controller.BaseController;
import com.nail.utils.Result4API;

@Controller("/api/user")			
@EnableAutoConfiguration    
public class LoginController extends BaseController{

	@GetMapping(value="/login")
	@ResponseBody
	public String loginIn(){
		Result4API result = new Result4API();
		return JSONObject.toJSONString(result);
	}


	@GetMapping(value="/logout")
	@ResponseBody
	public String loginOut(){
		Result4API result = new Result4API();
		return JSONObject.toJSONString(result);
	}
}
